home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Transformers: Revenge of …he Game: Press Kit (USA)
/
Transformers - Revenge of the Fallen - The Game - Press Kit (USA).bin
/
Transformers.swf
/
scripts
/
fl
/
video
/
ConnectClient.as
< prev
next >
Wrap
Text File
|
2009-06-19
|
1KB
|
48 lines
package fl.video
{
import flash.net.NetConnection;
use namespace flvplayback_internal;
public class ConnectClient
{
public var owner:NCManager;
public var nc:NetConnection;
public var connIndex:uint;
public var pending:Boolean;
public function ConnectClient(param1:NCManager, param2:NetConnection, param3:uint = 0)
{
super();
this.owner = param1;
this.nc = param2;
this.connIndex = param3;
this.pending = false;
}
public function onBWCheck(... rest) : Number
{
return ++owner._payload;
}
public function close() : void
{
}
public function onBWDone(... rest) : void
{
var _loc2_:Number = NaN;
if(rest.length > 0)
{
_loc2_ = rest[0];
}
owner.onConnected(nc,_loc2_);
}
}
}